package ooday05;

/**
 * 说明:
 *
 * @author: luohaowei
 * @date:2023/2/27
 **/
public class GetterSetterDemo {
    public static void main(String[] args) {
        Point p=new Point();
        p.setX(1000);
        p.setY(2000);
        System.out.println(p.getX()+","+p.getY());
    }
}
